tools/ocaml/xenstored: add xenstored.conf flag to turn off watch permission checks
authorEdwin Török <edvin.torok@citrix.com>
Tue, 15 Dec 2020 11:28:56 +0000 (12:28 +0100)
committerHans van Kranenburg <hans@knorrie.org>
Tue, 15 Dec 2020 11:28:56 +0000 (12:28 +0100)
commitf11d12745de2c981ae701e7dd0cf769eaab4e147
tree8a43c15157d6aa76ee23efd3d4d3d2809af117e6
parentfc2758d698e14314b5265a5c1cd879e43926e71a
tools/ocaml/xenstored: add xenstored.conf flag to turn off watch permission checks

There are flags to turn off quotas and the permission system, so add one
that turns off the newly introduced watch permission checks as well.

This is part of XSA-115.

Signed-off-by: Edwin Török <edvin.torok@citrix.com>
Acked-by: Christian Lindig <christian.lindig@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/ocaml/xenstored/connection.ml
tools/ocaml/xenstored/oxenstored.conf.in
tools/ocaml/xenstored/perms.ml
tools/ocaml/xenstored/xenstored.ml